<!doctype html>
<html lang="en" ng-app="insuranceApp">
<head>
    <meta charset="UTF-8">
    <meta name = "format-detection" content = "telephone=no">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <title ng-bind="pageTitle"></title>
    <link  rel="stylesheet" href="static/dist/css/app-82ec960ace.css">
    <link  rel="stylesheet" href="static/dist/css/app.css">
    <script type="text/javascript">
        window.zhuge = window.zhuge || [];
        window.zhuge.methods = "_init debug identify track trackLink trackForm page".split(" ");
        window.zhuge.factory = function(b) {
            return function() {
                var a = Array.prototype.slice.call(arguments);
                a.unshift(b);
                window.zhuge.push(a);
                return window.zhuge;
            }
        };
        for (var i = 0; i < window.zhuge.methods.length; i++) {
            var key = window.zhuge.methods[i];
            window.zhuge[key] = window.zhuge.factory(key);
        }
        window.zhuge.load = function(b, x) {
            if (!document.getElementById("zhuge-js")) {
                var a = document.createElement("script");
                var verDate = new Date();
                var verStr = verDate.getFullYear().toString()
                        + verDate.getMonth().toString() + verDate.getDate().toString();

                a.type = "text/javascript";
                a.id = "zhuge-js";
                a.async = !0;
                a.src = (location.protocol == 'http:' ? "http://sdk.zhugeio.com/zhuge.min.js?v=" : 'https://zgsdk.zhugeio.com/zhuge.min.js?v=') + verStr;
                var c = document.getElementsByTagName("script")[0];
                c.parentNode.insertBefore(a, c);
                window.zhuge._init(b, x)
            }
        };
        window.zhuge.load('6b3c569f042040f5bf32285acb975ac3');
    </script>
    <script src="/static/jquery/jquery-1.12.3.min.js"></script>
</head>
<body>
<div class="message">
    <div class="title">
         <h2>邀请码</h2>
        <p></p>
    </div>
    <div class="content">
         <div class="text1">
             <h3>邀请码使用方法：</h3>
             <dl>
                 <dt>1.</dt>
                 <dd>让你的公益伙伴在APP志愿者打卡器的轮播图中点击"神秘礼物开领啦"专题活动入口</dd>
             </dl>
             <dl>
                 <dt>2.</dt>
                 <dd>输入邀请码，按流程领取。</dd>
             </dl>
         </div>
         <div class="text2">
             <h3>组织能力建设费用领取方法：</h3>
             <p><span>1.登录</span><a ui-href="">http://pab.cvssp.cn/static/channel/index.html</a> </p>
             <dl>
                 <dt>2.</dt>
                 <dd>你的登录账号为志愿者打卡器登录手机，密码为手机号的后六位。首次登录后。需修改密码！</dd>
             </dl>
             <dl>
                 <dt>3.</dt>
                 <dd>随时查看组织能力建设费用情况，如遗忘激活码也可随时查询</dd>
             </dl>
         </div>
    </div>
    <div class="bot-title">
        <a ui-href="">重要提示：请截屏此页面，以备后用</a>
    </div>

</div>

</body>
<script src="libs/qrcode/qrcode.min.js"></script>
<script>
    (function () {
        $(function () {
            var message={
                getParam:function () {
                    var that = this,
                            url = location.search,
                            resultObject = new Object,
                            index;
                    if (url.indexOf('?') != -1) {
                        var parmString = url.substr(1),
                                parmStrings = parmString.split('&')
                        for (var i = 0; i < parmStrings.length; i++) {
                            var key, value, keyIndex, valueIndex;
                            key = parmStrings[i].substring(0, parmStrings[i].indexOf('='));
                            value = parmStrings[i].substring(parmStrings[i].indexOf('=') + 1, parmStrings[i].length);
                            resultObject[key] = decodeURIComponent(value);
                        }
                    }
                    return resultObject;
                },
                showMessage: function () {
                    var that=this,
                            invitCodeObj=that.getParam(),
                            invitCode=toString(invitCodeObj.memberId);
                    $('.title').append(invitCode);
                },
                init: function () {
                    var that=this;
                    that.showMessage();
                }
            }
            message.init();
        })
    })(jQuery)
</script>
</html>